/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.calendar.event;

import java.util.EventListener;


/**
 * Interface to listen to JCalendar change.
 * Add listener to the JCalendar by using his method
 * <code>addCalendaListener</code>.
 * <p>
 * When an event occurs listeners's method <code>calendarChanged</code>
 * is invoked.
 *
 * @see org.calendar.JCalendar
 * @see org.calendar.event.CalendarChangedEvent
 *
 * @author Julie Duvillier
 *
 */
public interface CalendarListener extends EventListener{

    /**
     * Invoked when an event occur.
     * @param e the CalendarChangedEvent object
     */
    void calendarChanged(CalendarChangedEvent e);

}
